<div ng-class="{'dropup':upPosition, 'dropDown':!upPosition}" >
    <div class="drop-down-header form-control txt-show spill-dots cursor-pointer" title="{{selectedNamesStr}}" ng-click="toggleDropDown()">
        {{selectedNamesStr || (multiLan?(placeholderT|translate):placeholderT)}}
        <i class="yb-icon ico-chevron-down"></i>
    </div>
    <div class="drop-down-con" ng-show="enablePopup" ng-click="$event.stopPropagation();">
        <div class="wrapper-x wrapper-y-xs bj-multi-scroll">
            <input class="form-control" placeholder="请输入" ng-show="allowSearch && dataList.length > 0" ng-model="searchVal" ng-change="onSearchChange(searchVal)">
            <ul>
                <li class="wrapper-y-xs" ng-if="datasShowLength === 0">
                    {{multiLan?('暂无记录'|translate):'暂无记录'}}
                </li>
                <li class="wrapper-y-xs" ng-if="datasShowLength > 0">
                    <div yb-check-box yb-checked="markInfo.allChecked" yb-check-name="全选" yb-click="selectAll()"></div>
                </li>
                <li class="wrapper-y-xs" ng-repeat="item in dataList|filter:{isHidden:false} track by $index">
                    <div yb-check-box yb-checked="item.isChecked" yb-check-name="{{item[labelKeyT]}}" yb-click="selectSingle(item)"></div>
                </li>
            </ul>
        </div>
        <div class="modal-footer clearfix">
            <span class="btn btn-primary btn-sm pull-right m-l-sm" ng-click="ok()">{{multiLan?('确定'|translate):'确定'}}</span>
            <span class="btn btn-default btn-sm pull-right" ng-click="cancel()">{{multiLan?('取消'|translate):'取消'}}</span>
        </div>
    </div>
</div>